github.com/andybalholm/brotli.Encoder.bw (field)
21 uses
github.com/andybalholm/brotli (current package)
encoder.go#L8: bw bitWriter
encoder.go#L14: e.bw = bitWriter{}
encoder.go#L18: e.bw.dst = dst
encoder.go#L20: e.bw.writeBits(4, 15)
encoder.go#L26: e.bw.writeBits(2, 3) // islast + isempty
encoder.go#L27: e.bw.jumpToByteBoundary()
encoder.go#L28: return e.bw.dst
encoder.go#L107: storeMetaBlockHeaderBW(uint(len(src)), false, &e.bw)
encoder.go#L108: e.bw.writeBits(13, 0)
encoder.go#L112: buildAndStoreHuffmanTreeFastBW(literalHisto[:], uint(literalCount), 8, literalDepths[:], literalBits[:], &e.bw)
encoder.go#L116: buildAndStoreHuffmanTreeFastBW(commandHisto[:], uint(commandCount), 10, commandDepths[:], commandBits[:], &e.bw)
encoder.go#L120: buildAndStoreHuffmanTreeFastBW(distanceHisto[:], uint(distanceCount), 6, distanceDepths[:], distanceBits[:], &e.bw)
encoder.go#L131: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder.go#L133: e.bw.writeBits(uint(kInsExtra[insertCode]), uint64(m.Unmatched)-uint64(kInsBase[insertCode]))
encoder.go#L136: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length)-uint64(kCopyBase[copyCode]))
encoder.go#L141: e.bw.writeBits(uint(literalDepths[c]), uint64(literalBits[c]))
encoder.go#L147: e.bw.writeBits(uint(distanceDepths[distCode.code]), uint64(distanceBits[distCode.code]))
encoder.go#L149: e.bw.writeBits(distCode.nExtra, distCode.extraBits)
encoder.go#L157: e.bw.writeBits(2, 3) // islast + isempty
encoder.go#L158: e.bw.jumpToByteBoundary()
encoder.go#L160: return e.bw.dst
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |